package com.fitns.user.dao.baseConfig;

import com.fitns.user.dto.baseConfig.WorkTimeDTO;
import com.fitns.user.dto.baseConfig.WorkTimeVO;
import com.fitns.user.mapper.baseConfig.TbWorkTimeMapper;

import java.util.List;

public interface WorkTimeDao {

    /**
     * 新增
     * @param workTimeDTO
     */
    void insert(WorkTimeDTO workTimeDTO);

    /**
     * 修改
     * @param workTimeDTO
     */
    void modify(WorkTimeDTO workTimeDTO);

    /**
     * 列表查询
     * @param workTimeDTO
     * @return
     */
    List<WorkTimeVO> selectList(WorkTimeDTO workTimeDTO);

    /**
     * 删除
     * @param id
     */
    void delete(Long id);

    /**
     * 通过id查询记录
     * @param id
     * @return
     */
    WorkTimeVO selectById(Long id);

}
